package org.bt.common.extenstion;

import io.swagger.annotations.ApiResponses;
import org.springframework.web.bind.annotation.RestController;

/**
 * ApiResponse
 * <p>
 * Created on 2020/1/7
 *
 * @author tongw
 */
@RestController
@ApiResponses(
        {
                @io.swagger.annotations.ApiResponse(code = 400, message = "业务异常", response = Error.class),
                @io.swagger.annotations.ApiResponse(code = 401, message = "未授权异常", response = Error.class),
                @io.swagger.annotations.ApiResponse(code = 500, message = "系统异常", response = Error.class)
        }
)
public interface ApiResponse {
}
